package com.spring.main.ioc;

import com.spring.main.ioc.annotation.MyAutowired;
import com.spring.main.ioc.annotation.MyController;
import com.spring.main.ioc.service.IDemoService;

@MyController
public class DemoComtroller {

	@MyAutowired
	private IDemoService idemoService;

	public String doDemo(String name) {
		return idemoService.sayHi(name);
	}
}
